import { IForm } from "@/base-ui/form";

//存放自定义配置文件
export const searchFormConfig: IForm = {
  //配置项
  formItems: [
    {
      filed: "name",
      type: "input",
      label: "部门名",
      rules: [],
      placeholder: "请输入部门名",
    },
    {
      filed: "parentId",
      type: "input",
      label: "上级Id",
      rules: [],
      placeholder: "请输入上级Id",
    },
    {
        filed: "leader",
        type: "input",
        label: "部门领导",
        rules: [],
        placeholder: "请输入部门领导",
      },
    {
      filed: "Date",
      type: "datepicker",
      label: "时间",
      rules: [],
    },
  ],
  //配置label的宽度
  labelWidth: "120px",
  //配置布局文件
  formStyle: { padding: "5px 30px" },
};